﻿using Basic.HrRemoteModel.Company;

namespace Basic.FormExtendService.lmpl
{
    internal class CompanyService : ICompanyService
    {
        public string GetName ( long id )
        {
            return new GetCompanyName
            {
                Id = id,
            }.Send();
        }
        public string[] GetName ( long[] ids )
        {
            return new GetCompanyNameList
            {
                Ids = ids
            }.Send();
        }

        public Dictionary<long, string> GetNames ( long[] ids )
        {
            return new GetCompanyNames
            {
                Ids = ids
            }.Send();
        }
    }
}
